package com.dc.chat.app.biz;

import com.dc.chat.entity.dao.FriendApply;
import com.dc.chat.entity.to.ResponseBean;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.util.List;

public interface FriendApplyBiz {
    ResponseBean<Integer> addFriendApply(Integer userId, String context);

    ResponseBean<List<FriendApply>> getList();

    ResponseBean<Integer> agree(Integer id) throws JsonProcessingException;

    ResponseBean<Integer> reject(Integer id);
}
